package com.element.music.service;

import com.element.music.controller.vo.UserIdVO;
import com.element.music.service.dto.UserDTO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 功能描述：
 * <p>
 * User: nft musician   developer
 * Date: 2022/1/10
 */

public interface UserService {

    List<UserDTO> getUserList();


    UserIdVO addUser(String walletAddress);


    Boolean delUserByWalletAddress(String walletAddress);


    UserDTO getUserById(Long userId);


    UserDTO getUserByWalletAddress(String walletAddress);


    Boolean updateUserName(Long userId, String userName);


    Boolean updateUserEmail(Long userId, String email);


    Boolean updateUserProfileImg(Long userId, MultipartFile profileImg);


    Boolean updateUserBackDrop(Long userId, MultipartFile backDrop);


    Boolean updateUserTwitter(Long userId, String twitter);


    Boolean updateUserWebsite(Long userId, String website);


    UserDTO login(String walletAddress);


    void logout(String walletAddress);


}
